import { z } from "zod";
export const permissionCreateSchema = z.object({
  _id: z.string().optional(),
  name: z.string(),
  code: z.string(),
});
export const permissionUpdateSchema = permissionCreateSchema.omit({});
export type PermissionCreateType = z.infer<typeof permissionCreateSchema>;
